
package com.cptravel.api;

import java.util.Map;

import android.text.TextUtils;
import android.widget.ProgressBar;

import com.core.api.ApiListenrDefaultImpl;
import com.core.api.B5MBaseRequest;

public class GetListRequest extends B5MBaseRequest<GetListResponse>
{
    public String ishot;
    public String classid;

    public GetListRequest(ApiListenrDefaultImpl apiListenrDefaultImpl, ProgressBar progressBar)
    {
        super(apiListenrDefaultImpl, progressBar);
        // TODO Auto-generated constructor stub
    }

    @Override
    public Class<GetListResponse> getResponseClass()
    {
        // TODO Auto-generated method stub
        return GetListResponse.class;
    }

    @Override
    public String getApiMethod()
    {
        // TODO Auto-generated method stub
        return "getlist";
    }

    @Override
    public void setApiBody(Map<String, Object> body)
    {
        // TODO Auto-generated method stub
        body.put("ishot", ishot);
        if (!TextUtils.isEmpty(classid))
        {
            body.put("classid", classid);
        }
    }
}
